DeprecationLevel

enum DeprecationLevel : Enum<DeprecationLevel>

Possible levels of a deprecation. The level specifies how the deprecated element usages are reported in code.

See also

Entries

HIDDEN
Link copied to clipboard

Deprecated element will not be accessible from code.

ERROR
Link copied to clipboard

Usage of the deprecated element will be reported as an error.

WARNING
Link copied to clipboard

Usage of the deprecated element will be reported as a warning.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int